package com.niit.schoolhub.system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 博客-链接表
 * </p>
 *
 * @author kaguya
 * @since 2021-11-27
 */
@TableName("yesapi_bjy_link")
@ApiModel(value = "YesapiBjyLink对象", description = "博客-链接表")
public class YesapiBjyLink implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("主键id")
    private Integer lid;

    @ApiModelProperty("链接名")
    private String lname;

    @ApiModelProperty("链接地址")
    private String url;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("文章是否显示 1是 0否")
    private Boolean isShow;

    @ApiModelProperty("是否删除 1是 0否")
    private Boolean isDelete;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getLid() {
        return lid;
    }

    public void setLid(Integer lid) {
        this.lid = lid;
    }

    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Boolean getIsShow() {
        return isShow;
    }

    public void setIsShow(Boolean isShow) {
        this.isShow = isShow;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "YesapiBjyLink{" +
        "id=" + id +
        ", lid=" + lid +
        ", lname=" + lname +
        ", url=" + url +
        ", sort=" + sort +
        ", isShow=" + isShow +
        ", isDelete=" + isDelete +
        "}";
    }
}
